<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/pageRc/common/common.jsp"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户中心</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="../../res/layui/css/layui.css">
  <link rel="stylesheet" href="../../res/css/global.css">
</head>
<body>

<div class="header">
  <div class="main">
    <a class="logo"  title="Fly">
    	<img src="<%=commonPath %>/res/images/logo.png">
    </a> 
    <div class="nav"> 
    </div>
    
    <div class="nav-user">      
      <!-- 登入后的状态 -->
       
      <div class="nav">
         <a  ><i class="iconfont icon-shezhi"></i>hi,${userName},你好</a>
        <a href="<%=commonPath %>/page/login/loginWechat.do"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
      </div>
      
    </div>
  </div>
</div>

<div class="main fly-user-main layui-clear">
  <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item layui-this">
      <a href="<%=commonPath %>/page/base/dologin.do">
        <i class="layui-icon">&#xe612;</i>
       	 待办任务
      </a>
    </li>
  
    <li class="layui-nav-item">
      <a href="<%=commonPath %>/page/need/doMakeNeed.do">
        <i class="layui-icon">&#xe620;</i>
         新增需求工单
      </a>
    </li>
  
  </ul>
  
  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  
  <div class="fly-panel fly-panel-user" pad20>
 
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
      	   <c:forEach items="${teanList}" var="team" >
      	   	    <li data-type="mine-jie" lay-id="index" class="layui-this">${team.proTeamName} </li>
       	    </c:forEach>
        </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
      		<c:forEach items="${teanList}" var="team" >
      			<div class="layui-tab-item layui-show"> 
		          <ul class="mine-view jie-row">
		         	 <c:forEach items="${taskList}" var="task" >
		         	   <c:if test="${task.proTeamNo == team.proTeamNo}">
  		          		<li>  
			              <a class="jie-title" href="<%=commonPath %>/page/base/${task.needId}/doTaskHaving.do" target="_blank">${task.needNo},${task.needName}</a>
		 	            </li>
		 	           </c:if>
		 	         </c:forEach>    
		          </ul>
		         </div> 
        	  </c:forEach> 
      </div>
    </div>
  </div>
</div> 
<script src="../../res/layui/layui.js"></script>
<script>
layui.cache.page = 'user';

layui.config({
  version: "2.0.0"
  ,base: '../../res/mods/'
}).extend({
  fly: 'index'
}).use('fly');
</script>

</body>
</html>